package com.liujit.upms.domain.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description: 修改密码请求参数
 * @author: liujun
 * @create: 2021-03-24 22:00
 */
@Data
@ApiModel(value = "ModifyPwdParams", description = "修改密码请求参数")
public class ModifyPwdParams {

    @ApiModelProperty(value = "旧密码")
    @NotBlank(message = "旧密码不能为空")
    private String oldPwd;

    @ApiModelProperty(value = "新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPwd;
}
